<script type="text/javascript" charset="utf-8" src="__PUBLIC__/plug/editor/kindeditor.js"></script>
<script type="text/javascript">
	  KE.lang['separate'] = "分页标记";
	  KE.lang['preview'] = "预 览";
	  
    KE.show({
      id : "{$id}", 
   		width : "{$width}", 
   		height : "{$height}",
   		resizeMode :1
    });
    
    KE.plugin['separate'] = {
			click : function() {
				KE.util.selection("{$id}");
				KE.util.insertHtml("{$id}", '<p><img src="__PUBLIC__/plug/editor/skins/default/separate.gif" /></p>');
				KE.util.focus("{$id}");
			}
  	}
  	KE.plugin['preview'] = {
			click : function() {
				window.open('__PUBLIC__/plug/editor/preview.html','预览','height=580, width=710,,, toolbar=no, menubar=no, scrollbars=yes, resizable=no,location=n o, status=no');
			}
  	}
  	
  	function preview(){
  		return KE.util.getData("{$id}");
  	}
</script>
<textarea name="{$id}" id="{$id}">{$content}</textarea>